/*
 * Created on Jan 1, 2008
 * 
 * By Erick Audet for OTN
 *
 * Copyright (c) 2008 Oracle Corporation. All Rights Reserved.
 *
 *
 */

package com.sample.accessors;

import com.sample.entities.User;
import com.sleepycat.je.DatabaseException;
import com.sleepycat.persist.PrimaryIndex;

public class UserAccessor extends DefaultAccessor {
	
	public PrimaryIndex<String, User> userByUserName;


	public UserAccessor() {}
	
	public void init() throws DatabaseException{
		
		userByUserName = entityStore.getPrimaryIndex( String.class, User.class );				

	}

}
